import java.io.File;

/**
 * @License: (C) Copyright 2013-2022
 * @Contact: abcque@outlook.com
 * @IDE: IntelliJ IDEA
 * @Encoding: utf-8
 * @Project: st2214st2215
 * @Package: PACKAGE_NAME
 * @File: Separator.java
 * @Time: 2023/4/23 15:25
 * @Author: abcque
 * @Description:
 * @Modifier:
 * @ModifyDate:
 * @ModifyRemark:
 */
public class Separator {
    public static void main(String[] args) {
        File abc = new File("abc.txt");

        File current = new File(".");

        File xyz = new File(current, "xyz.txt");

        File file = new File("d:\\abc.txt");

        File file1 = new File("d:" + File.separator + "xyz.txt");

        System.out.println(File.separator);

    }
}
